<?php

namespace app\shopapi\controller;


use app\common\controller\Shopapi;
use app\api\model\UserConsumeLog;

/**
 * 店铺推广订单接口
 */
class Extendorder extends Shopapi
{
    protected $noNeedRight = '*';

    //推广订单
    public function extendorder()
    {
        $status = input('status',0);//0已付款,1退款/售后
        $keyword = input('keyword','');
        $consume_log_model = new UserConsumeLog();
        $lists = $consume_log_model->extendorderShop($this->shopauth->shop_id,$status,$keyword);
        $this->success('',$lists);
    }

}